package com.bll.tsdoa.entity;


import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

/**
 * 切割零件表(存储临时生成的)(Cutting)表实体类
 *
 * @author makejava
 * @since 2025-03-07 21:03:30
 */
@SuppressWarnings("serial")
@Data
public class Cutting extends Model<Cutting> {

    private Long id;

    private Integer partId;
    private double partLength;
    private Integer partNum;

    //雪花算法id
    private Long cuttingId;

    public Cutting setCuttingId(Long cuttingId) {
        this.cuttingId = cuttingId;
        return this;
    }

    public Cutting setId(Long id) {
        this.id = id;
        return this;
    }

    public Cutting setPartId(Integer partId) {
        this.partId = partId;
        return this;
    }

    public Cutting setPartLength(Double length) {
        this.partLength = length;
        return this;
    }

    public Cutting setPartNum(Integer partNum) {
        this.partNum = partNum;
        return this;
    }
}

